home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / TestParts / Clock / ClockDef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-01  |  3.2 KB  |  120 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ClockDef.h
  3.  
  4.     Contains:    Defines for Clock code & resources
  5.  
  6.     Owned by:    Richard Rodseth
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <12>     11/2/95    RR        Renamed module AppleTestClock->AppleTest
  13.         <11>    10/23/95    RR        #1291688 Added test for adding New menus
  14.         <10>    10/13/95    EL        1287340: Use standard ISO prefix
  15.          <9>     9/12/95    RR        Various activation problems. Added a
  16.                                     floating window
  17.          <8>     6/13/95    JP        Recordable Clock
  18.          <7>     5/10/95    CG        #1243599    RemovekNMAPid from StdDefs.idl.
  19.          <6>     3/22/95    RR        1227993 Added View menu
  20.          <5>     2/22/95    RR        # 1182938 Added a new dialog for use in
  21.                                     testing this bug
  22.          <4>    12/25/94    TÇ        1191189 Eliminate duplicate Def.h, Def.xh
  23.                                     files
  24.          <3>    11/28/94    RR        Support for about box
  25.          <2>     8/17/94    CG        #1181487: Changed Class ID for SOM
  26.                                     instantiating by name.
  27.          <1>     7/28/94    TÇ        first checked in
  28.          <0>     7/27/94    SV        SOMverted
  29.          <8>     3/28/94    CG        1150376: No longer support ASLM versioning.
  30.          <7>      2/8/94    JA        Moved 'kNMAPIDxx' consts to Clock.r
  31.          <6>     1/18/94    CG        Added define for file type.
  32.          <5>     1/14/94    CG        Added defines for user strings.
  33.          <4>     1/12/94    CG        Added kNMAPid1 and 2.
  34.          <3>    12/16/93    RR        Changed dialog ids to avoid overlap
  35.          <2>    12/16/93    RR        Added ids for alerts, dialogs and menus
  36.          <1>    11/22/93    TÇ        first checked in
  37.  
  38.     To Do:
  39.         Put strings in STR resources.
  40. */
  41.  
  42. #ifndef _CLOCKDEF_
  43. #define _CLOCKDEF_
  44.  
  45. #ifndef SOM_Module_OpenDoc_StdDefs_defined
  46. #include "StdDefs.xh"
  47. #endif
  48.  
  49. // Kind
  50. #define kODKindTestClock "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:Kind:TestClock"
  51.  
  52. // Class ID
  53. #define kClockPartID "AppleTest::Clock"
  54.  
  55. // Editor User String
  56. #define kClockEditorUserString "Test Clock 1.0"
  57.  
  58. // Kind User String
  59. #define kClockKindUserString "Test Clock"
  60.  
  61. // Category User String
  62. #define kClockCategoryUserString "Time"
  63.  
  64. // Clock OSType
  65. #define kClockOSType 'CLCK'
  66.  
  67. #define kClock_FontMenuID        1100
  68. #define kClock_SizeMenuID        1101
  69. #define kClock_StyleMenuID        1102 
  70. #define kClock_SettingsMenuID    1103
  71. #define kClock_ViewMenuID        1104
  72. #define kClock_ExtraMenuID        1105
  73. #define kClock_ExtraSubMenuID        220
  74.  
  75. #define kClock_Size_9Pt            1
  76. #define kClock_Size_10Pt            2
  77. #define kClock_Size_11Pt            3
  78. #define kClock_Size_12Pt            4
  79. #define kClock_Size_14Pt            5
  80. #define kClock_Size_18Pt            6
  81. #define kClock_Size_24Pt            7
  82. #define kClock_Size_36Pt            8
  83.  
  84. #define kClock_Style_Plain        1
  85. #define kClock_Style_Bold        2
  86. #define kClock_Style_Italic        3
  87. #define kClock_Style_Underline    4
  88. #define kClock_Style_Outline        5
  89. #define kClock_Style_Shadow        6
  90. #define kClock_Style_Condense    7
  91. #define kClock_Style_Extend        8
  92.  
  93. #define kClock_AboutBoxID            4128
  94. #define kClock_SynchronizeDialogID    4129
  95. #define kClock_AlarmSettingsDialogID    4130
  96. #define kClock_DisplaySettingsDialogID    4131
  97. #define kClock_AlarmDialogID            4132
  98. #define kClock_SettingsCheckBoxID    1
  99.  
  100. #define kClock_FloatingDialogID 4133
  101. #define kClock_SinkingDialogID 4134
  102.  
  103. #define kNMAPid1 128
  104. #define kNMAPid2 129
  105. #define kNMAPid3 130
  106. #define kNMAPid4 131
  107. #define kNMAPid5 132
  108. #define kNMAPid6 133
  109.  
  110. // Defines for AETE
  111.  
  112. #define    pDisplayMode        'CLKd'
  113. #define    enumDisplayModes    'CLKe'
  114. #define    kAEAnalogClock        'CLKA'
  115. #define kAEDigitalClock        'CLKD'
  116. #define enumFontStyles        'CLKs'
  117.  
  118. #endif //_CLOCKDEF_
  119.  
  120.